package com.funcas.pcloud.upms.facade;

import com.funcas.pcloud.common.ApiResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author funcas
 * @version 1.0
 * @date 2018年10月14日
 */
@RequestMapping("/sys")
public interface UnitRestFacade {

    @RequestMapping(value = "/org/tree", method = RequestMethod.GET)
    public ApiResult getOrgByParentId();

    /**
     * 获取叶子节点
     * @return
     */
    @RequestMapping(value = "/org/org-leave")
    public ApiResult getOrgLeave();
}
